package org.jeecg.modules.wlhy.evaluation.service;

import org.apache.ibatis.ognl.Evaluation;
import org.jeecg.modules.wlhy.evaluation.entity.HyEvaluation;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: 评价表
 * @Author: jeecg-boot
 * @Date:   2020-12-16
 * @Version: V1.0
 */
public interface IHyEvaluationService extends IService<HyEvaluation> {
    /**
     * 通过运单号获取评价信息
     * @param shippingNoteNumber
     * @return
     */
    public HyEvaluation getByShippingNoteNumber(String shippingNoteNumber);
    /**
     * 通过货主id获取评价信息
     * @param customerId
     * @return
     */
    public HyEvaluation getEvaluationByCid(String customerId);
    /**
     * 通过司机id获取评价信息
     * @param driverId
     * @return
     */
    public HyEvaluation getEvaluationByDid(String driverId);
}
